package com.corechina.apex_osswords.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 巡检计划表
 * </p>
 *
 * @author cc
 * @since 2023-03-09
 */
@Getter
@Setter
@TableName("core_polling_plan")
@ApiModel(value = "CorePollingPlan对象", description = "巡检计划表")
public class CorePollingPlan implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("父级id")
    private Integer parentId;

    @ApiModelProperty("计划日期")
    private LocalDate planTime;

    @ApiModelProperty("状态  0  未巡检  1 巡检完成 2 部分巡检")
    private Integer status;

    @ApiModelProperty("计划巡检人")
    private Integer planPerson;


}
